package com.mhc.suzuki.constant;

/**
 * Created by zheng on 16/5/9.
 */
public class SmsConstant {
    
    public static final String MHC_B2B = "【卖好车】";//todo 注:括号改成英文状态短信会发送失败

    public static final int SUCC_CODE = 0;

    /**
     * luosimao 配置信息
     */
    public static String LSM_API = "key-ac2c1ea8eaa61e7ca617e17be7720b7f";

    public static String LSM_BASE_URL = "http://sms-api.luosimao.com/";

    public static String LSM_VERSION_NUM = "v1";

    public static String LSM_SEND_SMS_URL = LSM_BASE_URL + LSM_VERSION_NUM + "/send.json";

    /**
     * 云片 配置信息
     */
    public static String YP_SMS_API_KEY = "a74bd6857b1782a281154eeef5e7a11e"; // 系统账号

    public static String YP_SMS_SEM_API_KEY = "ae84b3f5d70e781b8bc97cee4d508eac";      // 云片营销账号
    
    public static String DAILY_YP_SMS_API_KEY = "3f6cecdedb3ef879dadad0c085b8fb56"; // 日常系统账号

    public static Integer API_KEY = 0;
    
    public static Integer SEM_API_KEY = 1;
    
    public static Integer DAILY_API_KEY = 2;

    // 云片营销账号API-KEY
    public static String YP_YX_SMS_API_KEY = "ae84b3f5d70e781b8bc97cee4d508eac";

    public static String YP_BASE_URI = "http://yunpian.com/";
    
    public static final String YP_SMS_BASE_URI = "https://sms.yunpian.com/";

    public static String YP_VERSION = "v1";
    
    public static final String YP_VERSION_V2 = "v2";

    public static String YP_SMS_SEND_URL = YP_BASE_URI + YP_VERSION + "/sms/send.json";
    
    public static final String YP_SMS_SINGLE_SEND_URL = YP_SMS_BASE_URI + YP_VERSION_V2 + "/sms/single_send.json";
    public static final String YP_SMS_BATCH_SEND_URL = YP_SMS_BASE_URI + YP_VERSION_V2 + "/sms/batch_send.json";
    public static final String YP_SMS_PRODUCE_SHORT_LINK_URL = YP_SMS_BASE_URI + YP_VERSION_V2 + "/short_url/shorten.json";
    public static final String YP_SMS_STAT_SHORT_LINK_URL = YP_SMS_BASE_URI + YP_VERSION_V2 + "/short_url/stat.json";
    public static final String YP_SMS_TPL_ADD = YP_SMS_BASE_URI + YP_VERSION_V2 + "/tpl/add.json";
    public static final String YP_SMS_TPL_GET = YP_SMS_BASE_URI + YP_VERSION_V2 + "/tpl/get.json";
    public static final String YP_SMS_TPL_UPDATE = YP_SMS_BASE_URI + YP_VERSION_V2 + "/tpl/update.json";
    public static final String YP_SMS_TPL_DELETE = YP_SMS_BASE_URI + YP_VERSION_V2 + "/tpl/del.json";
    
    public static final String YP_PARAM_API_KEY = "apikey";
    public static final String YP_RESPONSE_KEY_CODE = "code";
    public static final String YP_RESPONSE_KEY_MSG = "msg";

    /**
     * 云片语音 配置信息
     */
    public static String YP_VOICE_SMS_API_KEY = "a74bd6857b1782a281154eeef5e7a11e";

    public static String YP_VOICE_BASE_URL = "http://voice.yunpian.com/";

    public static String YP_VOICE_VERSION_NUM = "v1";

    public static String YP_API_VERSION = "v2";

    public static String YP_VOICE_SMS_SEND_URL = YP_VOICE_BASE_URL + YP_VOICE_VERSION_NUM + "/voice/send.json";

    public static String YP_GET_SMS_TPLS = "/tpl/get.json";    // 获取短信模板接口

    public static String YP_ADD_SMS_TPL = "/tpl/add.json";     // 添加短信模板接口

    public static String YP_UPDATE_SMS_TPL = "/tpl/update.json"; // 修改短信模板接口

    public static String YP_DEL_SMS_TPL = "/tpl/del.json";  // 删除短信模板接口

    public static String YP_BATCH_SEND = "/sms/batch_send.json"; // 批量发送短信接口

    /**
     * 短信内容
     */

    // 注册
    public static final String REGISTER = "您注册卖好车的验证码为%s";

    // 找回密码
    public static final String FORGET_PWD = "您正在找回卖好车的密码，验证码为%s";
}
